package com.alibaba.algo.components.permission.auth;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import com.alibaba.algo.components.permission.auth.enums.AuthMethod;
import com.alibaba.algo.components.permission.auth.enums.AuthParam;
import com.alibaba.algo.components.permission.auth.enums.AuthScheme;

/**
 * @Description: 授权自定义注解
 * @author: malin
 * @date: 2020-12-15 11:35:30
 */
@Documented
@Retention(RUNTIME)
@Target(METHOD)
public @interface CheckAuth {
	AuthParam[] param() default {};

	AuthScheme[] scheme() default {};

	AuthMethod[] method() default {};
}
